package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HisEngineRule;

/**
 * 规则配置中间Mapper接口
 * 
 * @author Alan
 * @date 2024-03-07
 */
public interface HisEngineRuleMapper 
{
    /**
     * 查询规则配置中间
     * 
     * @param id 规则配置中间主键
     * @return 规则配置中间
     */
    public HisEngineRule selectHisEngineRuleById(Long id);

    /**
     * 查询规则配置中间列表
     * 
     * @param hisEngineRule 规则配置中间
     * @return 规则配置中间集合
     */
    public List<HisEngineRule> selectHisEngineRuleList(HisEngineRule hisEngineRule);

    public List<HisEngineRule> selectHisEngineRuleValueList(HisEngineRule hisEngineRule);

    /**
     * 新增规则配置中间
     * 
     * @param hisEngineRule 规则配置中间
     * @return 结果
     */
    public int insertHisEngineRule(HisEngineRule hisEngineRule);

    /**
     * 修改规则配置中间
     * 
     * @param hisEngineRule 规则配置中间
     * @return 结果
     */
    public int updateHisEngineRule(HisEngineRule hisEngineRule);

    /**
     * 删除规则配置中间
     * 
     * @param id 规则配置中间主键
     * @return 结果
     */
    public int deleteHisEngineRuleById(Long id);

    /**
     * 批量删除规则配置中间
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHisEngineRuleByIds(Long[] ids);
}
